#ifndef DW_GRAPHICS_OPENGL_210_CONTEXT_H
#	define DW_GRAPHICS_OPENGL_210_CONTEXT_H

#if (DW_GRAPHICS_BACKEND != DW_GRAPHICS_BACKEND_OPENGL_210)
#	error "Invalid included file"
#endif // (DW_GRAPHICS_BACKEND != DW_GRAPHICS_BACKEND_OPENGL_210)

namespace dw {
	namespace graphics {
		namespace details {

struct Context
{
public :
	bool isValid() const ;
	dw::uint32 getDepthBits() const ;
	dw::uint32 getStencilBits() const ;

private :
	explicit Context(const ContextSetup& setup);
	// Context(const Context& ref);
	
private :
	ContextSetup m_setup;
	HDC m_deviceContext;
	HGLRC m_renderContext;

	friend class Backend;
};

		} // namespace details
	} // namespace graphics
} // namespace dw

#include "graphics/opengl/210/context.inl"

#endif // !DW_GRAPHICS_OPENGL_210_CONTEXT_H
